package cn.xpg.service;

import java.util.List;

import cn.xpg.entity.OutSales;

public interface OutSalesService {
	// 新增销售单
	public int addOutSales(OutSales outSales);

	// 删除销售单
	public int deleteOutSales(int outsales_id);

	// 查询销售单
	public List<OutSales> getOutSalesList(String product_name, int currentPageNo, int pageSize);

	// 查询销售单行数
	public int getOutSalesCount(String product_name);

	// 获取销售单id
	public OutSales getOutSalesId(int outsales_id);

	// 修改销售单
	public int updateOutSales(OutSales outSales);
}
